//---------------------------------------------------------------------------

#ifndef t_conditionformH
#define t_conditionformH
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <Vcl.Controls.hpp>
#include <Vcl.StdCtrls.hpp>
#include <Vcl.Forms.hpp>
//---------------------------------------------------------------------------
class HBatchIcon;

class TConditionForm : public TForm
{
__published:	// IDE-managed Components
   TLabel *Label2;
   TLabel *Label3;
   TLabel *Label4;
   TLabel *Label5;
   TLabel *Label1;
   TLabel *Label6;
   TLabel *Label7;
   TEdit *EditPassword;
   TButton *ButtonOk;
   TButton *ButtonCancel;
   TEdit *EditId;
   TComboBox *ComboBoxSpecialDate;
   TCheckBox *CheckBoxCondNot;
   TEdit *EditConditionFile;
   TEdit *EditJobName;
   TEdit *EditLoopStartTime;
   TEdit *EditLoopEndTime;
   void __fastcall ButtonOkClick(TObject *Sender);
   void __fastcall ButtonCancelClick(TObject *Sender);
   void __fastcall FormShow(TObject *Sender);
private:	// User declarations
   bool OkFlag;
public:		// User declarations
   __fastcall TConditionForm(TComponent* Owner);
   bool __fastcall ChangeCondition(HBatchIcon *Batch, const UTF8String &JobName,
      bool &CondNot,
      UTF8String &ConditionFile, UTF8String &SpecialDate,
      UTF8String &LoopStartTime, UTF8String &LoopEndTime, const UTF8String &Auth);
};
//---------------------------------------------------------------------------
extern PACKAGE TConditionForm *ConditionForm;
//---------------------------------------------------------------------------
#endif
